package com.dflc.entity.req;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class UserRoleReq {

    /**
     * 账号ID
     */
    private Long id;
    /**
     * 角色ID
     */
    @NotEmpty(message = "角色ID不能为空")
    private Integer roleId;
}
